package com.cn.boot.spring.mapper;

import com.cn.boot.spring.entity.UserEntity;
import com.github.pagehelper.Page;

import java.util.List;

public interface UserMapper {
    List<UserEntity> findAllUser();

    UserEntity findById(Integer id);

    Integer addUser(UserEntity userEntity);

    Integer delUserById(Integer id);

    Page<UserEntity> page();

    Integer updateUser(UserEntity userEntity);

}
